package com.suncaper.tddmall.service;

import com.suncaper.tddmall.common.model.User;
import com.suncaper.tddmall.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public interface UserService {


    User login(String username,String password);

    User findByUsername(String username);

    void register(User user);

    void registerUser(User user);


}
